package com.dy.org.dto;

import lombok.Builder;
import lombok.Data;

import javax.validation.constraints.NotBlank;

@Data
@Builder
public class EmpDto {
    @NotBlank(message = "用户名不能为空")
    private String username;
    @NotBlank(message = "电话不能为空")
    private String phone;
    @NotBlank(message = "邮箱不能为空")
    private String email;
    @NotBlank(message = "密码不能为空")
    private String password;
    @NotBlank(message = "再次确认密码不能为空")
    private String comfirmPassword;
}
